package cn.gjculture.shopping.api.service;

import cn.gjculture.shopping.api.entity.Merchant;
import cn.gjculture.shopping.api.entity.Return;
import com.alibaba.fastjson.JSONObject;

import java.util.List;

public interface MerchantService {
    int save(Merchant mer, Return ret);

    int back(String code,String msg, JSONObject responseParam);

    Merchant queryByBelongId(String belongId);

    List<Merchant> query();

    int update(Merchant merchant, Return ret);

    Merchant queryById(String supplierId);

    int registerAgain(Merchant merchant, Return ret);


    List<Merchant> querySystem();
}
